<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <title>iLEADER</title>
  <link rel="stylesheet" href="../dist/lib/layui/css/layui.css">
</head>
<body>
  <button id="btn">点我</button>
<script src="../dist/lib/jquery.min.js"></script>
<script src="../dist/lib/layui/layui.js"></script>
<script>
  layui.use('layer', function(){
    var layer = layui.layer;
    $('#btn').click(function () {
      layer.open({
        type: 2,
        maxmin: true,
        title: 'layer mobile页',
        shade: 0.8,
        area: ['100%', '100%'],
        content: 'mobile/' //iframe的url
      });

    });
  });
</script>
</body>
</html>